﻿// Partial Class SaveProject
// Public Class Column

// ''' <summary>
// ''' 前台表对应的列
// ''' </summary>
// ''' <value></value>
// ''' <returns></returns>
// ''' <remarks></remarks>
// Public Property ViewColumn As String
// Get
// Return Me._ViewColumn
// End Get
// Set(value As String)
// Me._ViewColumn = value
// End Set
// End Property
// Private _ViewColumn As String

// ''' <summary>
// ''' 后台表对应的列
// ''' </summary>
// ''' <value></value>
// ''' <returns></returns>
// ''' <remarks></remarks>
// Public Property DataColumn As String
// Get
// If Me._DataColumn = "" Then
// Return Me.ViewColumn
// End If
// Return Me._DataColumn
// End Get
// Set(value As String)
// Me._DataColumn = value
// End Set
// End Property
// Private _DataColumn As String

// Public Sub ResetViewColumn()
// Me.ViewColumn = Nothing
// End Sub
// Protected Function ShouldSerializeViewColumn() As Boolean
// Return Not (Me._ViewColumn = "")
// End Function

// Public Sub ResetDataColumn()
// Me.DataColumn = Nothing
// End Sub
// Protected Function ShouldSerializeDataColumn() As Boolean
// Return Not (Me._DataColumn = "")
// End Function

// Public Overrides Function ToString() As String
// Dim result As String = MyBase.ToString()
// If Me._ViewColumn > "" Then result = $"ViewColumn=""{Me.ViewColumn}"""
// If Me._DataColumn > "" Then result &= IIf(result > "", ",", Nothing) & $"DataColumn=""{Me.DataColumn}"""
// Return result
// End Function
// End Class
// End Class
// Partial Class SaveProject
// Public Class Column

// ''' <summary>
// ''' 前台表对应的列
// ''' </summary>
// ''' <value></value>
// ''' <returns></returns>
// ''' <remarks></remarks>
// Public Property ViewColumn As String
// Get
// Return Me._ViewColumn
// End Get
// Set(value As String)
// Me._ViewColumn = value
// End Set
// End Property
// Private _ViewColumn As String

// ''' <summary>
// ''' 后台表对应的列
// ''' </summary>
// ''' <value></value>
// ''' <returns></returns>
// ''' <remarks></remarks>
// Public Property DataColumn As String
// Get
// If Me._DataColumn = "" Then
// Return Me.ViewColumn
// End If
// Return Me._DataColumn
// End Get
// Set(value As String)
// Me._DataColumn = value
// End Set
// End Property
// Private _DataColumn As String

// Public Sub ResetViewColumn()
// Me.ViewColumn = Nothing
// End Sub
// Protected Function ShouldSerializeViewColumn() As Boolean
// Return Not (Me._ViewColumn = "")
// End Function

// Public Sub ResetDataColumn()
// Me.DataColumn = Nothing
// End Sub
// Protected Function ShouldSerializeDataColumn() As Boolean
// Return Not (Me._DataColumn = "")
// End Function

// Public Overrides Function ToString() As String
// Dim result As String = MyBase.ToString()
// If Me._ViewColumn > "" Then result = $"ViewColumn=""{Me.ViewColumn}"""
// If Me._DataColumn > "" Then result &= IIf(result > "", ",", Nothing) & $"DataColumn=""{Me.DataColumn}"""
// Return result
// End Function
// End Class
// End Class